package com.fzy.core.acegi.provider;

import org.acegisecurity.GrantedAuthority;
import org.acegisecurity.providers.UsernamePasswordAuthenticationToken;

public class MyUsernamePasswordAuthenticationToken extends
		UsernamePasswordAuthenticationToken {
	
	private String userFlag;

	public MyUsernamePasswordAuthenticationToken(Object principal,
			Object credentials, String userFlag) {
		super(principal, credentials);
		this.userFlag = userFlag;
	}
	
	
	public MyUsernamePasswordAuthenticationToken(Object principal, Object credentials,String userFlag, GrantedAuthority[] authorities) {
		super(principal,credentials,authorities);
		this.userFlag = userFlag;       
    }


	public String getUserFlag() {
		return userFlag;
	}
	

}
